<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <!-- import CSS -->
    <title>统计</title>
    <link rel="stylesheet" href="css/index.css">
</head>

<body>
    <div id="app"> 
        <el-form ref="form" label-width="50px">
            <el-form-item label="内容">
                <el-input type="textarea" :rows="5" placeholder="内容" v-model="textarea">
                </el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="onSubmit">计算</el-button>
                <el-button @click="clear">清空</el-button>
            </el-form-item>
            <el-form-item label="结果">
                <el-input type="textarea" :rows="20" placeholder="结果" v-model="textarea1">
                </el-input>
            </el-form-item>
        </el-form>
    </div>
</body>
<!-- import Vue before Element -->
<script src="js/vue.js"></script>
<!-- import JavaScript -->
<script src="js/index.js"></script>
<!-- <script src="js/jisuanjiami.js"></script> -->
<script src="js/jisuanjiami.js"></script>

</html>